Include additional version metadata during Windows install
authorSean Bright <sean@seanbright.com>
Wed, 2 Apr 2025 17:52:06 +0000 (13:52 -0400)
committerCorwin Brust <corwin@bru.st>
Sat, 26 Apr 2025 19:21:21 +0000 (14:21 -0500)
* admin/nt/dist-build/emacs.nsi: Add DisplayIcon, DisplayVersion, and
  Publisher values to the Uninstall registry key.

Copyright-paperwork-exempt: yes

admin/nt/dist-build/emacs.nsi

index 4a5de4f85f9f76be2a8710c7d41ee69232b746cc..9239eb07ec7e88bd2e66adb5e10e4d5379943b3f 100644 (file)
@@ -72,6 +72,9 @@ Section
 
   # add registry key to enable uninstall from control panel
   WriteRegStr HKLM "${UNINST_KEY}" "DisplayName" "GNU Emacs ${VERSION_BRANCH}"
+  WriteRegStr HKLM "${UNINST_KEY}" "DisplayIcon" "$\"$UninstallerPath$\""
+  WriteRegStr HKLM "${UNINST_KEY}" "DisplayVersion" "${VERSION_BRANCH}"
+  WriteRegStr HKLM "${UNINST_KEY}" "Publisher" "Free Software Foundation, Inc."
   WriteRegStr HKLM "${UNINST_KEY}" "UninstallString" "$\"$UninstallerPath$\""
 
   ;Create shortcuts